\documentclass{article}
\usepackage[x11names, rgb]{xcolor}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usetikzlibrary{snakes,arrows,shapes}
\usepackage{amsmath}
%
%
\usepackage[active,tightpage]{preview}
\PreviewEnvironment{tikzpicture}
\setlength\PreviewBorder{0pt}%
\usetikzlibrary{automata}%

\begin{document}
\pagestyle{empty}
%
%
%

\enlargethispage{100cm}
% Start of code
\begin{tikzpicture}[>=latex',join=bevel,]
\tikzstyle{every state}=[draw=blue!50,very thick,fill=blue!20]%
\node (q0) at (40bp,722bp) [state] {$q_{0}$};
  \node (q2) at (158bp,546bp) [state] {$q_{2}$};
  \node (q8) at (41bp,18bp) [state] {$q_{8}$};
  \node (q6) at (94bp,194bp) [state] {$q_{6}$};
  \node (q3) at (222bp,458bp) [state] {$q_{3}$};
  \node (q5) at (158bp,282bp) [state] {$q_{5}$};
  \node (q1) at (40bp,634bp) [state] {$q_{1}$};
  \node (q7) at (78bp,106bp) [state] {$q_{7}$};
  \node (q4) at (238bp,370bp) [state] {$q_{4}$};
  \draw [->] (q2) ..controls (180bp,516bp) and (194bp,498bp)  .. node[auto] {$\overline{initProcessPartnerLink#initProcess}$} (q3);
  \draw [->] (q8) ..controls (27bp,53bp) and (19bp,81bp)  .. (18bp,106bp) .. controls (18bp,546bp) and (18bp,546bp)  .. (18bp,546bp) .. controls (19bp,567bp) and (24bp,589bp)  .. node[auto] {$initProcessPartnerLink#initProcess$} (q1);
  \draw [->] (q0) ..controls (40bp,692bp) and (40bp,676bp)  .. node[auto] {$initProcessPartnerLink#initProcess$} (q1);
  \draw [->] (q6) ..controls (89bp,164bp) and (86bp,148bp)  .. node[auto] {$initProcessPartnerLink#notifyTaskCompletion$} (q7);
  \draw [->] (q3) ..controls (227bp,428bp) and (230bp,412bp)  .. node[auto] {$initProcessPartnerLink#notifyTaskCompletion$} (q4);
  \draw [->] (q5) ..controls (136bp,252bp) and (122bp,234bp)  .. node[auto] {$\overline{FDSPartnerLink#createTask}$} (q6);
  \draw [->] (q1) ..controls (78bp,606bp) and (110bp,582bp)  .. node[auto] {$\overline{FDSPartnerLink#createTask}$} (q2);
  \draw [->] (q7) ..controls (65bp,76bp) and (58bp,59bp)  .. node[auto] {$\overline{initProcessPartnerLink#notifyTaskCompletion}$} (q8);
  \draw [->] (q4) ..controls (235bp,341bp) and (232bp,327bp)  .. (225bp,318bp) .. controls (216bp,307bp) and (204bp,299bp)  .. node[auto] {$\overline{initProcessPartnerLink#notifyTaskCompletion}$} (q5);
%
\end{tikzpicture}
% End of code

%
\end{document}
%


